<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>v-cloak测试</title>
        <style>
            [v-cloak]{
                display: none;
            }
        </style>
    </head>
    <body>
        <div id="app" v-cloak>
            {{ msg }}
            <p v-text="msg"></p>
        </div>
        
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script>
            var vm = new Vue({
                el: '#app',
                data: {
                    msg: 'vue.js 加载成功'
                }
            })
        </script>
    </body>
</html>